package com.lzb.browser.bean;

import com.lzb.browser.basic.bean.SelBean;

public class CollectBean extends SelBean {

    private String title;
    private String url;
    private String iconUrl;    // 图标URL
    private String iconData;   // Base64编码的图标数据
    private long createTime;   // 创建时间

    public CollectBean(String title, String url, String iconUrl) {
        this.title = title;
        this.url = url;
        this.iconUrl = iconUrl;
        this.createTime = System.currentTimeMillis();
    }

    public CollectBean(String title, String url, String iconUrl, String iconData) {
        this.title = title;
        this.url = url;
        this.iconUrl = iconUrl;
        this.iconData = iconData;
        this.createTime = System.currentTimeMillis();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getIconData() {
        return iconData;
    }

    public void setIconData(String iconData) {
        this.iconData = iconData;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}